package com.zofer.study.proxy.staticproxy;

import com.zofer.study.proxy.Card;

public class ProxyCard {
    private Card card;

    public ProxyCard(Card card) {
        this.card = card;
    }

    //代理办卡
    public void proxyDoCard(){
        System.out.println("代理去银行办卡路上...");
        card.doCard();
        System.out.println("代理银行卡已办理完成");
    }
}
